﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 借阅标准
    /// </summary>
    public interface IBorrowService
    {
        Task<int> AddBorrowAsync(int borrowDate);
        Task<int> EditBorrowAsync(int id, int borrowDate);
        Task<int> DeleteBorrowAsync(int id);
        Task<List<BorrowDto>> QueryBorrowAllAsync();
        Task<BorrowDto> QueryBorrowByIdAsync(int id);
        //Task<List<BorrowDto>> GetBorrowByNameAsync(string title);
    }
}
